<?php

global $G_TMP_MENU;
global $RBAC;

if ($RBAC->userCanAccess('PM_SETUP') == 1 ) {
  $G_TMP_MENU->AddIdRawOption('ID_EMPLOYEE', '../hr/hrEmployee/hrEmployeeList', 'Employees [Profile]', 'icon-pmlogo.png', '', 'management');
  $G_TMP_MENU->AddIdRawOption('ID_DISTRICTS', '../hr/hrDistricts/hrDistrictsList', 'Districts [Profile]', 'icon-pmlogo.png', '', 'management');
  $G_TMP_MENU->AddIdRawOption('ID_POSITIONS', '../hr/hrPositions/hrPositionsList', 'Positions', 'icon-pmlogo.png', '', 'management');
  $G_TMP_MENU->AddIdRawOption('ID_LEAVE_AMOUNTS', '../hr/hrLeaveAmounts/hrLeaveAmountsList', 'Leave Amounts', 'icon-pmlogo.png', '', 'management');
  $G_TMP_MENU->AddIdRawOption('ID_BENEFITS', '../hr/hrBenefits/hrBenefitsList', 'Benefits', 'icon-pmlogo.png', '', 'management');
  $G_TMP_MENU->AddIdRawOption('ID_CONTRACTS_ALL', '../hr/hrContractsAll/hrContractsList', 'Contracts', 'icon-pmlogo.png', '', 'management');
  // $G_TMP_MENU->AddIdRawOption('ID_REPORTS_VIEW', '../hr/rptReports/rptReportsListV', 'Reports [view]', 'icon-pmlogo.png', '', 'management');
  $G_TMP_MENU->AddIdRawOption('ID_REPORTS_MANAGER', '../hr/rptReports/rptReportsList', 'Reports [Define]', 'icon-pmlogo.png', '', 'management');

  $G_TMP_MENU->AddIdRawOption('ID_ASSIGNMENT_AREAS', '../hr/hrAssignmentareas/hrAssignmentareasList', 'Assignment Areas', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_CLASSIFICATIONS', '../hr/hrClassifications/hrClassificationsList', 'Classifications', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_PAY_PLAN', '../hr/hrPayPlan/hrPayPlanList', 'Pay Plan', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_PAY_UNIT', '../hr/hrPayUnit/hrPayUnitList', 'Pay Unit', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_EEO_CATEGORY', '../hr/hrEeoCategory/hrEeoCategoryList', 'EEO Category', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_POSITION_STATUS', '../hr/hrPositionStatus/hrPositionStatusList', 'Position Status', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_STEPS_SALARY', '../hr/hrStepsSalary/hrStepsSalaryList', 'Steps Salary', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_DEGREES_SALARY', '../hr/hrDegreesSalary/hrDegreesSalaryList', 'Degrees Salary', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_JOBS_STATUS', '../hr/hrJobsStatus/hrJobsStatusList', 'Jobs Status', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_JOBS_TITLES', '../hr/hrJobsTitles/hrJobsTitlesList', 'Jobs Titles', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_LENGTHS_CONTRACT', '../hr/hrLengthsContract/hrLengthsContractList', 'Lengths Contract', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_FUNDS_SOURCE', '../hr/hrFundsSource/hrFundsSourceList', 'Funds Sources', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_UNITS_BENEFIT', '../hr/hrUnitsBenefit/hrUnitsBenefitList', 'Unit Benefit', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_DEGREE_EARNED', '../hr/hrDegreeEarned/hrDegreeEarnedList', 'Academic Degree', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_LOW_GRADES', '../hr/hrLowGrades/hrLowGradesList', 'Low Grades', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_HIGH_GRADES', '../hr/hrHighGrades/hrHighGradesList', 'High Grades', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_APPOINTMENT', '../hr/hrTypesAppointment/hrTypesAppointmentList', 'Types Appointment', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_EMPLOYEE', '../hr/hrTypesEmployee/hrTypesEmployeeList', 'Types Employee', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_LEAVE', '../hr/hrTypesLeave/hrTypesLeaveList', 'Types Leave', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_POSITION', '../hr/hrTypesPosition/hrTypesPositionList', 'Types Position', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES TRANSACTION', '../hr/hrTypesTransaction/hrTypesTransactionList', 'Types Transaction', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_VISA', '../hr/hrTypesVisa/hrTypesVisaList', 'Types Visa', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_CERTIFICATE', '../hr/hrTypesCertificate/hrTypesCertificateList', 'Types Certificate', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_LICENSE', '../hr/hrTypesLicense/hrTypesLicenseList', 'Types License', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_PAY', '../hr/hrTypesPay/hrTypesPayList', 'Types Pay', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_PHONE', '../hr/hrTypesPhone/hrTypesPhoneList', 'Types Phone', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_TYPES_TESTS', '../hr/hrTypesTests/hrTypesTestsList', 'Types Tests', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_GENDERS', '../hr/hrGenders/hrGendersList', 'Genders', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_MARITALS_STATUS', '../hr/hrMaritalsStatus/hrMaritalsStatusList', 'Marital Status', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_RELATIONSHIP', '../hr/hrRelationship/hrRelationshipList', 'Relationship', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_PREFIX', '../hr/hrPrefix/hrPrefixList', 'Prefixs', 'icon-pmlogo.png', '', 'parameters');
  $G_TMP_MENU->AddIdRawOption('ID_SUFFIX', '../hr/hrSuffix/hrSuffixList', 'Suffixs', 'icon-pmlogo.png', '', 'parameters');

}

$G_TMP_MENU->AddIdRawOption('ID_EMPLOYEE_SS', '../hr/hrEmployee/hrEmployeeEditSS', 'Personal', 'icon-pmlogo.png', '', 'my info');

